package org.bioversityinternational.mgbms.model.dao;

import org.apache.log4j.Logger;
import org.bioversityinternational.mgbms.model.dao.base.BaseDao;
import org.bioversityinternational.mgbms.model.domain.Address;
import org.springframework.stereotype.Component;

@Component
public class AddressDao extends BaseDao<Address, Integer>
{
	private static final Logger LOG = Logger.getLogger(AddressDao.class);
	
	public AddressDao() {
		super(Address.class);		
        LOG.debug("AddressDao constructed");
	}

	@Override
	public Integer getIdFromString(String sIdAsString) {
		return Integer.parseInt(sIdAsString);
	}
			
}

